home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 51
/
Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso
/
-in_the_mag-
/
fusion
/
mshardfile1
/
System Folder
/
System
/
System.rsrc
/
CDEF_0.txt
< prev
next >
Wrap
Text File
|
2000-02-07
|
30KB
|
549 lines
start:
00000000 600A bra +0xC /* 0000000C */
00000002 0000 4344 ori.b D0, 0x44 /* 'D' */
00000006 4546 chk.w D2, D6
00000008 0000 000B ori.b D0, 0xB
label0000000C:
0000000C 4E56 FFC6 link A6, -0x003A
00000010 48E7 1F78 movem.l -[A7], D3,D4,D5,D6,D7,A1,A2,A3,A4
00000014 0C6E 0002 000C cmpi.w [A6 + 0xC], 0x2
0000001A 6312 bls +0x14 /* 0000002E */
0000001C 0C6E 000A 000C cmpi.w [A6 + 0xC], 0xA /* '\n' */
00000022 670A beq +0xC /* 0000002E */
00000024 0C6E 000B 000C cmpi.w [A6 + 0xC], 0xB
0000002A 6600 00DE bne +0xE0 /* 0000010A */
label0000002E:
0000002E 486E FFEC pea.l [A6 - 0x14]
00000032 A898 syscall GetPenState
00000034 A89E syscall PenNormal
00000036 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
0000003C 53EE FFEA sls [A6 - 0x16]
00000040 627C bhi +0x7E /* 000000BE */
00000042 2055 movea.l A0, [A5]
00000044 2050 movea.l A0, [A0]
00000046 3F28 0048 move.w -[A7], [A0 + 0x48]
0000004A 3F3C 0001 move.w -[A7], 0x1
0000004E A889 syscall TextMode
00000050 486E FFCE pea.l [A6 - 0x32]
00000054 AA19 syscall GetForeColor
00000056 486E FFC8 pea.l [A6 - 0x38]
0000005A AA1A syscall GetBackColor
0000005C 42A7 clr.l -[A7]
0000005E 4227 clr.b -[A7]
00000060 2F2E 000E move.l -[A7], [A6 + 0xE]
00000064 486F 0006 pea.l [A7 + 0x6]
00000068 AA44 syscall GetAuxiliaryControlRecord/GetAuxCtl
0000006A 544F addq.w A7, 2
0000006C 205F movea.l A0, [A7]+
0000006E 2050 movea.l A0, [A0]
00000070 2068 0008 movea.l A0, [A0 + 0x8]
00000074 2D48 FFDE move.l [A6 - 0x22], A0
00000078 A029 syscall HLock
0000007A 2D50 FFDA move.l [A6 - 0x26], [A0]
0000007E 42A7 clr.l -[A7]
00000080 4227 clr.b -[A7]
00000082 206E 000E movea.l A0, [A6 + 0xE]
00000086 2050 movea.l A0, [A0]
00000088 2F28 0004 move.l -[A7], [A0 + 0x4]
0000008C 486F 0006 pea.l [A7 + 0x6]
00000090 AA42 syscall GetAuxWin
00000092 544F addq.w A7, 2
00000094 205F movea.l A0, [A7]+
00000096 2050 movea.l A0, [A0]
00000098 2068 0008 movea.l A0, [A0 + 0x8]
0000009C 2050 movea.l A0, [A0]
0000009E 3028 0006 move.w D0, [A0 + 0x6]
000000A2 C0FC 0008 mulu.w D0, 0x8
label000000A6:
000000A6 4A70 0008 tst.w [A0 + D0.w + 0x8]
000000AA 6706 beq +0x8 /* 000000B2 */
000000AC 5140 subq.w D0, 8
000000AE 6CF6 bge -0x8 /* 000000A6 */
000000B0 7000 moveq.l D0, 0x00
label000000B2:
000000B2 2D70 000A FFD4 move.l [A6 - 0x2C], [A0 + D0.w + 0xA]
000000B8 3D70 000E FFD8 move.w [A6 - 0x28], [A0 + D0.w + 0xE]
label000000BE:
000000BE 41EE 0008 lea.l A0, [A6 + 0x8]
000000C2 2618 move.l D3, [A0]+
000000C4 3018 move.w D0, [A0]+
000000C6 2658 movea.l A3, [A0]+
000000C8 3C18 move.w D6, [A0]+
000000CA 3E06 move.w D7, D6
000000CC 0246 0007 andi.w D6, 0x7
000000D0 4290 clr.l [A0]
000000D2 2053 movea.l A0, [A3]
000000D4 0C40 0002 cmpi.w D0, 0x2
000000D8 6300 0004 bls +0x6 /* 000000DE */
000000DC 5F40 subq.w D0, 7
label000000DE:
000000DE D040 add.w D0, D0
000000E0 43FA 0036 lea.l A1, [PC + 0x36 /* 00000118, value 0x3402DC, cstring "" */]
000000E4 D2F1 0000 add.w A1, [A1 + D0.w]
000000E8 4E91 jsr [A1]
000000EA 4A2E FFEA tst.b [A6 - 0x16]
000000EE 6714 beq +0x16 /* 00000104 */
000000F0 206E FFDE movea.l A0, [A6 - 0x22]
000000F4 A02A syscall HUnlock
000000F6 486E FFCE pea.l [A6 - 0x32]
000000FA AA14 syscall RGBForeColor
000000FC 486E FFC8 pea.l [A6 - 0x38]
00000100 AA15 syscall RGBBackColor
00000102 A889 syscall TextMode
label00000104:
00000104 486E FFEC pea.l [A6 - 0x14]
00000108 A899 syscall SetPenState
label0000010A:
0000010A 4CDF 1EF8 movem.l D3,D4,D5,D6,D7,A1,A2,A3,A4, [A7]+
0000010E 4E5E unlink A6
00000110 205F movea.l A0, [A7]+
00000112 4FEF 000C lea.l A7, [A7 + 0xC]
00000116 4ED0 jmp [A0]
00000118 0034 02DC 0314 ori.b <<invalid full ext with I/IS == 4>>, 0xDC
0000011E 030E btst A6, D1
00000120 030E btst A6, D1
label00000122:
00000122 4E75 rts
fn00000124:
00000124 2F01 move.l -[A7], D1
00000126 206E FFDA movea.l A0, [A6 - 0x26]
0000012A 3228 0006 move.w D1, [A0 + 0x6]
0000012E C2FC 0008 mulu.w D1, 0x8
label00000132:
00000132 B070 1008 cmp.w D0, [A0 + D1.w + 0x8]
00000136 6706 beq +0x8 /* 0000013E */
00000138 5141 subq.w D1, 8
0000013A 6CF6 bge -0x8 /* 00000132 */
0000013C 7200 moveq.l D1, 0x00
label0000013E:
0000013E 41F0 100A lea.l A0, [A0 + D1.w + 0xA]
00000142 2008 move.l D0, A0
00000144 221F move.l D1, [A7]+
00000146 205F movea.l A0, [A7]+
00000148 2F00 move.l -[A7], D0
0000014A 4ED0 jmp [A0]
0000014C 4A28 0010 tst.b [A0 + 0x10]
00000150 67D0 beq -0x2E /* 00000122 */
00000152 6100 0286 bsr +0x288 /* 000003DA */
00000156 4A2E FFEA tst.b [A6 - 0x16]
0000015A 6724 beq +0x26 /* 00000180 */
0000015C 4A06 tst.b D6
0000015E 6706 beq +0x8 /* 00000166 */
00000160 486E FFD4 pea.l [A6 - 0x2C]
00000164 6016 bra +0x18 /* 0000017C */
label00000166:
00000166 2053 movea.l A0, [A3]
00000168 1028 0011 move.b D0, [A0 + 0x11]
0000016C 5300 subq.b D0, 1
0000016E 0C00 00FD cmpi.b D0, 0xFD
00000172 6404 bcc +0x6 /* 00000178 */
00000174 7002 moveq.l D0, 0x02
00000176 6002 bra +0x4 /* 0000017A */
label00000178:
00000178 7001 moveq.l D0, 0x01
label0000017A:
0000017A 61A8 bsr -0x56 /* 00000124 */
label0000017C:
0000017C AA15 syscall RGBBackColor
0000017E 2053 movea.l A0, [A3]
label00000180:
00000180 49E8 0008 lea.l A4, [A0 + 0x8]
00000184 4A06 tst.b D6
00000186 6704 beq +0x6 /* 0000018C */
00000188 4A03 tst.b D3
0000018A 6606 bne +0x8 /* 00000192 */
label0000018C:
0000018C 2F0C move.l -[A7], A4
0000018E 2F04 move.l -[A7], D4
00000190 A8B2 syscall EraseRoundRect
label00000192:
00000192 2055 movea.l A0, [A5]
00000194 2050 movea.l A0, [A0]
00000196 2F28 0044 move.l -[A7], [A0 + 0x44]
0000019A 3F28 004A move.w -[A7], [A0 + 0x4A]
0000019E 5147 subq.w D7, 8
000001A0 6C12 bge +0x14 /* 000001B4 */
000001A2 42A8 0044 clr.l [A0 + 0x44]
000001A6 3038 0BA8 move.w D0, [0x00000BA8 /* DefFontSize */]
000001AA 6604 bne +0x6 /* 000001B0 */
000001AC 1038 0987 move.b D0, [0x00000987 /* FMDefaultSize */]
label000001B0:
000001B0 3140 004A move.w [A0 + 0x4A], D0
label000001B4:
000001B4 2F28 001C move.l -[A7], [A0 + 0x1C]
000001B8 42A7 clr.l -[A7]
000001BA A8D8 syscall NewRgn
000001BC 2457 movea.l A2, [A7]
000001BE A87A syscall GetClip
000001C0 2053 movea.l A0, [A3]
000001C2 4868 0008 pea.l [A0 + 0x8]
000001C6 A87B syscall ClipRect
000001C8 2F0A move.l -[A7], A2
000001CA 2F2F 0004 move.l -[A7], [A7 + 0x4]
000001CE A8E4 syscall SectRgn
000001D0 204B movea.l A0, A3
000001D2 A069 syscall HGetState
000001D4 2F00 move.l -[A7], D0
000001D6 A029 syscall HLock
000001D8 48E7 0830 movem.l -[A7], D4,A2,A3
000001DC 2053 movea.l A0, [A3]
000001DE 45E8 0028 lea.l A2, [A0 + 0x28]
000001E2 49E8 0008 lea.l A4, [A0 + 0x8]
000001E6 7E00 moveq.l D7, 0x00
000001E8 1E12 move.b D7, [A2]
000001EA 6700 00FA beq +0xFC /* 000002E6 */
000001EE 7800 moveq.l D4, 0x00
label000001F0:
000001F0 5244 addq.w D4, 1
000001F2 6100 016A bsr +0x16C /* 0000035E */
000001F6 4A07 tst.b D7
000001F8 6AF6 bpl -0x8 /* 000001F0 */
000001FA 1E12 move.b D7, [A2]
000001FC 514F subq.w A7, 8
000001FE 264F movea.l A3, A7
00000200 2F0B move.l -[A7], A3
00000202 A88B syscall GetFontInfo
00000204 6100 0170 bsr +0x172 /* 00000376 */
00000208 C0C4 mulu.w D0, D4
0000020A 322C 0004 move.w D1, [A4 + 0x4]
0000020E 3A01 move.w D5, D1
00000210 9254 sub.w D1, [A4]
00000212 9240 sub.w D1, D0
00000214 E241 asr D1.w, 1
00000216 9A41 sub.w D5, D1
00000218 9A6B 0006 sub.w D5, [A3 + 0x6]
0000021C 9A6B 0002 sub.w D5, [A3 + 0x2]
label00000220:
00000220 6100 013C bsr +0x13E /* 0000035E */
00000224 4267 clr.w -[A7]
00000226 2F0A move.l -[A7], A2
00000228 3007 move.w D0, D7
0000022A 5400 addq.b D0, 2
0000022C 3F00 move.w -[A7], D0
0000022E 3F03 move.w -[A7], D3
00000230 A886 syscall TextWidth
00000232 301F move.w D0, [A7]+
00000234 4A06 tst.b D6
00000236 6724 beq +0x26 /* 0000025C */
00000238 4A78 0BAC tst.w [0x00000BAC /* TESysJust */]
0000023C 6714 beq +0x16 /* 00000252 */
0000023E 322C 0006 move.w D1, [A4 + 0x6]
00000242 926C 0002 sub.w D1, [A4 + 0x2]
00000246 9240 sub.w D1, D0
00000248 0441 0012 subi.w D1, 0x12
0000024C D26C 0002 add.w D1, [A4 + 0x2]
00000250 601A bra +0x1C /* 0000026C */
label00000252:
00000252 322C 0002 move.w D1, [A4 + 0x2]
00000256 0641 0012 addi.w D1, 0x12
0000025A 6010 bra +0x12 /* 0000026C */
label0000025C:
0000025C 322C 0006 move.w D1, [A4 + 0x6]
00000260 926C 0002 sub.w D1, [A4 + 0x2]
00000264 9240 sub.w D1, D0
00000266 E241 asr D1.w, 1
00000268 D26C 0002 add.w D1, [A4 + 0x2]
label0000026C:
0000026C 3F01 move.w -[A7], D1
0000026E 3F05 move.w -[A7], D5
00000270 A893 syscall MoveTo
00000272 2055 movea.l A0, [A5]
00000274 2050 movea.l A0, [A0]
00000276 3F28 0048 move.w -[A7], [A0 + 0x48]
0000027A 4A2E FFEA tst.b [A6 - 0x16]
0000027E 670E beq +0x10 /* 0000028E */
00000280 3028 0006 move.w D0, [A0 + 0x6]
00000284 0240 C000 andi.w D0, 0xC000
00000288 56EE FFC6 sne [A6 - 0x3A]
0000028C 6004 bra +0x6 /* 00000292 */
label0000028E:
0000028E 422E FFC6 clr.b [A6 - 0x3A]
label00000292:
00000292 4A2E FFEA tst.b [A6 - 0x16]
00000296 6732 beq +0x34 /* 000002CA */
00000298 206E 000E movea.l A0, [A6 + 0xE]
0000029C 2050 movea.l A0, [A0]
0000029E 1028 0011 move.b D0, [A0 + 0x11]
000002A2 671C beq +0x1E /* 000002C0 */
000002A4 0C00 00FE cmpi.b D0, 0xFE
000002A8 640A bcc +0xC /* 000002B4 */
000002AA 4A06 tst.b D6
000002AC 6612 bne +0x14 /* 000002C0 */
000002AE 303C 0001 move.w D0, 0x1
000002B2 6010 bra +0x12 /* 000002C4 */
label000002B4:
000002B4 4A2E FFC6 tst.b [A6 - 0x3A]
000002B8 6706 beq +0x8 /* 000002C0 */
000002BA 3F3C 0031 move.w -[A7], 0x31 /* '1' */
000002BE A889 syscall TextMode
label000002C0:
000002C0 303C 0002 move.w D0, 0x2
label000002C4:
000002C4 6100 FE5E bsr -0x1A0 /* 00000124 */
000002C8 AA14 syscall RGBForeColor
label000002CA:
000002CA 2F0A move.l -[A7], A2
000002CC 3007 move.w D0, D7
000002CE 5400 addq.b D0, 2
000002D0 3F00 move.w -[A7], D0
000002D2 3F03 move.w -[A7], D3
000002D4 A885 syscall DrawText
000002D6 A889 syscall TextMode
000002D8 6100 009C bsr +0x9E /* 00000376 */
000002DC 9A40 sub.w D5, D0
000002DE 4A07 tst.b D7
000002E0 6A00 FF3E bpl -0xC0 /* 00000220 */
000002E4 504F addq.w A7, 8
label000002E6:
000002E6 4CDF 0C10 movem.l D4,A2,A3, [A7]+
000002EA 204B movea.l A0, A3
000002EC 201F move.l D0, [A7]+
000002EE A06A syscall HSetState
000002F0 2055 movea.l A0, [A5]
000002F2 2050 movea.l A0, [A0]
000002F4 315F 004A move.w [A0 + 0x4A], [A7]+
000002F8 215F 0044 move.l [A0 + 0x44], [A7]+
000002FC 4A2E FFEA tst.b [A6 - 0x16]
00000300 6708 beq +0xA /* 0000030A */
00000302 7000 moveq.l D0, 0x00
00000304 6100 FE1E bsr -0x1E0 /* 00000124 */
00000308 AA14 syscall RGBForeColor
label0000030A:
0000030A 4A06 tst.b D6
0000030C 6600 015A bne +0x15C /* 00000468 */
00000310 2053 movea.l A0, [A3]
00000312 49E8 0008 lea.l A4, [A0 + 0x8]
00000316 2F0C move.l -[A7], A4
00000318 2F04 move.l -[A7], D4
0000031A A8B0 syscall FrameRoundRect
0000031C 4A2E FFEA tst.b [A6 - 0x16]
00000320 6712 beq +0x14 /* 00000334 */
00000322 4A2E FFC6 tst.b [A6 - 0x3A]
00000326 660A bne +0xC /* 00000332 */
00000328 2053 movea.l A0, [A3]
0000032A 0C28 00FE 0011 cmpi.b [A0 + 0x11], 0xFE
00000330 6452 bcc +0x54 /* 00000384 */
label00000332:
00000332 601E bra +0x20 /* 00000352 */
label00000334:
00000334 2053 movea.l A0, [A3]
00000336 1028 0011 move.b D0, [A0 + 0x11]
0000033A 6716 beq +0x18 /* 00000352 */
0000033C 4A2E FFC6 tst.b [A6 - 0x3A]
00000340 6610 bne +0x12 /* 00000352 */
00000342 0C00 00FE cmpi.b D0, 0xFE
00000346 643C bcc +0x3E /* 00000384 */
00000348 49E8 0008 lea.l A4, [A0 + 0x8]
0000034C 2F0C move.l -[A7], A4
0000034E 2F04 move.l -[A7], D4
00000350 A8B3 syscall InvertRoundRect
label00000352:
00000352 A89E syscall PenNormal
00000354 2F0A move.l -[A7], A2
00000356 A879 syscall SetClip
00000358 2F0A move.l -[A7], A2
0000035A A8D9 syscall DisposRgn/DisposeRgn
0000035C 4E75 rts
fn0000035E:
0000035E 7600 moveq.l D3, 0x00
00000360 4A07 tst.b D7
00000362 670E beq +0x10 /* 00000372 */
label00000364:
00000364 0C32 000D 7000 cmpi.b [A2 + D7.w], 0xD /* '\r' */
0000036A 6706 beq +0x8 /* 00000372 */
0000036C 5243 addq.w D3, 1
0000036E 5307 subq.b D7, 1
00000370 66F2 bne -0xC /* 00000364 */
label00000372:
00000372 5307 subq.b D7, 1
00000374 4E75 rts
fn00000376:
00000376 7000 moveq.l D0, 0x00
00000378 D053 add.w D0, [A3]
0000037A D06B 0002 add.w D0, [A3 + 0x2]
0000037E D06B 0006 add.w D0, [A3 + 0x6]
00000382 4E75 rts
label00000384:
00000384 6102 bsr +0x4 /* 00000388 */
00000386 60CA bra -0x34 /* 00000352 */
fn00000388:
00000388 4A2E FFEA tst.b [A6 - 0x16]
0000038C 6714 beq +0x16 /* 000003A2 */
0000038E 4A06 tst.b D6
00000390 6610 bne +0x12 /* 000003A2 */
00000392 7002 moveq.l D0, 0x02
00000394 6100 FD8E bsr -0x270 /* 00000124 */
00000398 AA14 syscall RGBForeColor
0000039A 7001 moveq.l D0, 0x01
0000039C 6100 FD86 bsr -0x278 /* 00000124 */
000003A0 AA15 syscall RGBBackColor
label000003A2:
000003A2 2053 movea.l A0, [A3]
000003A4 49E8 0008 lea.l A4, [A0 + 0x8]
000003A8 2F0C move.l -[A7], A4
000003AA 2F3C 0001 0001 move.l -[A7], 0x10001
000003B0 A8A9 syscall InsetRect
000003B2 2F0C move.l -[A7], A4
000003B4 2F04 move.l -[A7], D4
000003B6 2055 movea.l A0, [A5]
000003B8 4868 FFE8 pea.l [A0 - 0x18]
000003BC A89D syscall PenPat
000003BE 3F3C 000B move.w -[A7], 0xB
000003C2 A89C syscall PenMode
000003C4 A8B1 syscall PaintRoundRect
000003C6 A89E syscall PenNormal
000003C8 2053 movea.l A0, [A3]
000003CA 49E8 0008 lea.l A4, [A0 + 0x8]
000003CE 2F0C move.l -[A7], A4
000003D0 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000003D6 A8A9 syscall InsetRect
000003D8 4E75 rts
fn000003DA:
000003DA 4A06 tst.b D6
000003DC 6612 bne +0x14 /* 000003F0 */
000003DE 3828 000C move.w D4, [A0 + 0xC]
000003E2 9868 0008 sub.w D4, [A0 + 0x8]
000003E6 E24C lsr D4.w, 1
000003E8 3004 move.w D0, D4
000003EA 4844 swap.w D4
000003EC 3800 move.w D4, D0
000003EE 4E75 rts
label000003F0:
000003F0 7800 moveq.l D4, 0x00
000003F2 4E75 rts
000003F4 1828 0011 move.b D4, [A0 + 0x11]
000003F8 5204 addq.b D4, 1
000003FA 6720 beq +0x22 /* 0000041C */
000003FC 4267 clr.w -[A7]
000003FE 2F03 move.l -[A7], D3
00000400 4868 0008 pea.l [A0 + 0x8]
00000404 A8AD syscall PtInRect
00000406 4A1F tst.b [A7]+
00000408 6712 beq +0x14 /* 0000041C */
0000040A 5204 addq.b D4, 1
0000040C 6710 beq +0x12 /* 0000041E */
0000040E 3D7C 000A 0016 move.w [A6 + 0x16], 0xA /* '\n' */
00000414 4A06 tst.b D6
00000416 6704 beq +0x6 /* 0000041C */
00000418 526E 0016 addq.w [A6 + 0x16], 1
label0000041C:
0000041C 4E75 rts
label0000041E:
0000041E 3D7C 00FE 0016 move.w [A6 + 0x16], 0xFE
00000424 4E75 rts
00000426 1D7C 0001 0017 move.b [A6 + 0x17], 0x1
0000042C 4A06 tst.b D6
0000042E 662E bne +0x30 /* 0000045E */
00000430 61A8 bsr -0x56 /* 000003DA */
00000432 A896 syscall HidePen
00000434 A8DA syscall OpenRgn
00000436 204B movea.l A0, A3
00000438 A029 syscall HLock
0000043A 2053 movea.l A0, [A3]
0000043C 4868 0008 pea.l [A0 + 0x8]
00000440 2F04 move.l -[A7], D4
00000442 A8B0 syscall FrameRoundRect
00000444 2F03 move.l -[A7], D3
00000446 A8DB syscall CloseRgn
00000448 A897 syscall ShowPen
0000044A 204B movea.l A0, A3
0000044C A02A syscall HUnlock
label0000044E:
0000044E 2055 movea.l A0, [A5]
00000450 41E8 FFE8 lea.l A0, [A0 - 0x18]
00000454 21D8 0A34 move.l [0x00000A34 /* DragPattern */], [A0]+
00000458 21D0 0A38 move.l [0x00000A38], [A0]
0000045C 4E75 rts
label0000045E:
0000045E 2F03 move.l -[A7], D3
00000460 4868 0008 pea.l [A0 + 0x8]
00000464 A8DF syscall RectRgn
00000466 60E6 bra -0x18 /* 0000044E */
label00000468:
00000468 4A2E FFEA tst.b [A6 - 0x16]
0000046C 6706 beq +0x8 /* 00000474 */
0000046E 486E FFD4 pea.l [A6 - 0x2C]
00000472 AA15 syscall RGBBackColor
label00000474:
00000474 2053 movea.l A0, [A3]
00000476 49E8 0008 lea.l A4, [A0 + 0x8]
0000047A 514F subq.w A7, 8
0000047C 302C 0004 move.w D0, [A4 + 0x4]
00000480 3200 move.w D1, D0
00000482 9054 sub.w D0, [A4]
00000484 0440 000C subi.w D0, 0xC
00000488 E240 asr D0.w, 1
0000048A 9240 sub.w D1, D0
0000048C 3F41 0004 move.w [A7 + 0x4], D1
00000490 0441 000C subi.w D1, 0xC
00000494 3E81 move.w [A7], D1
00000496 4A78 0BAC tst.w [0x00000BAC /* TESysJust */]
0000049A 6714 beq +0x16 /* 000004B0 */
0000049C 322C 0006 move.w D1, [A4 + 0x6]
000004A0 5541 subq.w D1, 2
000004A2 3F41 0006 move.w [A7 + 0x6], D1
000004A6 0441 000C subi.w D1, 0xC
000004AA 3F41 0002 move.w [A7 + 0x2], D1
000004AE 6012 bra +0x14 /* 000004C2 */
label000004B0:
000004B0 322C 0002 move.w D1, [A4 + 0x2]
000004B4 5441 addq.w D1, 2
000004B6 3F41 0002 move.w [A7 + 0x2], D1
000004BA 0641 000C addi.w D1, 0xC
000004BE 3F41 0006 move.w [A7 + 0x6], D1
label000004C2:
000004C2 2F0F move.l -[A7], A7
000004C4 A8A3 syscall EraseRect
000004C6 2053 movea.l A0, [A3]
000004C8 3A28 0012 move.w D5, [A0 + 0x12]
000004CC 1028 0011 move.b D0, [A0 + 0x11]
000004D0 671A beq +0x1C /* 000004EC */
000004D2 0C00 00FE cmpi.b D0, 0xFE
000004D6 650C bcs +0xE /* 000004E4 */
000004D8 4A2E FFC6 tst.b [A6 - 0x3A]
000004DC 660E bne +0x10 /* 000004EC */
000004DE 6100 FEA8 bsr -0x156 /* 00000388 */
000004E2 6008 bra +0xA /* 000004EC */
label000004E4:
000004E4 2F3C 0002 0002 move.l -[A7], 0x20002
000004EA A89B syscall PenSize
label000004EC:
000004EC 2F0F move.l -[A7], A7
000004EE 0C06 0002 cmpi.b D6, 0x2
000004F2 6704 beq +0x6 /* 000004F8 */
000004F4 A8A1 syscall FrameRect
000004F6 6002 bra +0x4 /* 000004FA */
label000004F8:
000004F8 A8B7 syscall FrameOval
label000004FA:
000004FA A89E syscall PenNormal
000004FC E24D lsr D5.w, 1
000004FE 6440 bcc +0x42 /* 00000540 */
00000500 0C46 0002 cmpi.w D6, 0x2
00000504 672C beq +0x2E /* 00000532 */
00000506 2F0F move.l -[A7], A7
00000508 2F38 0A02 move.l -[A7], [0x00000A02 /* OneOne */]
0000050C A8A9 syscall InsetRect
0000050E 2F17 move.l -[A7], [A7]
00000510 A893 syscall MoveTo
00000512 2F2F 0004 move.l -[A7], [A7 + 0x4]
00000516 A891 syscall LineTo
00000518 3F2F 0006 move.w -[A7], [A7 + 0x6]
0000051C 3F2F 0002 move.w -[A7], [A7 + 0x2]
00000520 5357 subq.w [A7], 1
00000522 A893 syscall MoveTo
00000524 3F2F 0002 move.w -[A7], [A7 + 0x2]
00000528 5357 subq.w [A7], 1
0000052A 3F2F 0006 move.w -[A7], [A7 + 0x6]
0000052E A891 syscall LineTo
00000530 600E bra +0x10 /* 00000540 */
label00000532:
00000532 2F0F move.l -[A7], A7
00000534 2F3C 0003 0003 move.l -[A7], 0x30003
0000053A A8A9 syscall InsetRect
0000053C 2F0F move.l -[A7], A7
0000053E A8B8 syscall PaintOval
label00000540:
00000540 504F addq.w A7, 8
00000542 6000 FE0E bra -0x1F0 /* 00000352 */